package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.SysCity;
import com.ruoyi.system.mapper.SysCityMapper;
import com.ruoyi.system.service.SysCityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class SysCityServiceImpl extends ServiceImpl<SysCityMapper, SysCity>
        implements SysCityService {
    @Autowired
    private SysCityMapper cityMapper;

    @Override
    public List<SysCity> queryList(String pname, String cname) {
        return cityMapper.findProvinceAndCity(pname,cname);
    }

}




